package com.panda.entity.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @Author: panda
 * @Date: 2022-05-18 15:21
 * @Description: 分页VO
 */

@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("分页")
public class PageVo<T> {
    @ApiModelProperty("结果条数")
    private List<T> rows;
    @ApiModelProperty("总数")
    private Long total;
}